package com.framework.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.framework.entity.or.OrBanner;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 功能描述: Banner图
 *
 * @author ck
 * @date 2018/9/6 10:59
 */
public interface BannerDao extends BaseMapper<OrBanner> {

	List<OrBanner> queryBannerList(@Param("ex") OrBanner banner);


    /**
     * 课程列表
     * @param params
     * @return
     */
    List<Map<String, Object>> queryLessionList(Map<String, Object> params);
    /**
     * 课程数量
     * @param params
     * @return
     */
    int queryLessionCount(Map<String, Object> params);
}
